﻿using UnityEngine;
using System.Collections;
/// <summary>
/// Yield exemple linked with exempleYield (functional)
/// </summary>
public class YieldExemple : MonoBehaviour 
{

	private void Start()
	{
		StartCoroutine(GetCount());
	}

	private IEnumerator GetCount()
	{
		yield return new WaitForSeconds (2.0f);
		Debug.Log("My Yield Works");
	}
	
}